home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / The Hacks! / Interim Executive Decision / Outline Table Demo / sources / COutlineTableApp.h < prev    next >
Encoding:
Text File  |  1998-06-21  |  1.0 KB  |  33 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    COutlineTableApp.cp         ©1997 Metrowerks Inc. All rights reserved.
  3. //    Original author: John C. Daub
  4. // ===========================================================================
  5. //    Demonstration application for the PowerPlant "Outline Table" classes (part
  6. //    of the Constructor Additions).
  7.  
  8. #pragma once
  9.  
  10. #include <LApplication.h>
  11.  
  12.  
  13. class    COutlineTableApp : public LApplication {
  14. public:
  15.                         COutlineTableApp();        // constructor registers all PPobs
  16.     virtual             ~COutlineTableApp();        // stub destructor
  17.     
  18.         // this overriding function performs application functions
  19.         
  20.     virtual Boolean        ObeyCommand(CommandT inCommand, void* ioParam);    
  21.     
  22.         // this overriding function returns the status of menu items
  23.         
  24.     virtual void        FindCommandStatus(CommandT inCommand,
  25.                             Boolean &outEnabled, Boolean &outUsesMark,
  26.                             Char16 &outMark, Str255 outName);
  27. protected:
  28.  
  29.     virtual void        StartUp();        // overriding startup functions
  30.     
  31.     virtual    void        DoVolumeTable();
  32.     virtual    void        DoEditTable();
  33. };